package com.zrrd.learn.framework.mybatis.javabase.service;

import com.zrrd.learn.framework.mybatis.javabase.entity.StudentEntity;
import com.zrrd.learn.framework.mybatis.javabase.mapper.StudentMapper;
import com.zrrd.learn.framework.mybatis.javabase.util.MybatisUtil;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 业务实现类
 * @author wrn
 * @version 1.0
 * @date 2023/9/4 10:27
 */

public class StudentService extends MybatisUtil {

    public List<StudentEntity> showall() {
        return super.getSqlSession().getMapper(StudentMapper.class).showAll();
    }

}
